package com.baichang.taoshunda.entity;

import com.baichang.framework.annotation.jdbc.Table;
import com.baichang.framework.annotation.jdbc.Id;
import com.baichang.framework.entity.BaseEntity;

import java.util.Date;


@Table(name = "t_user_bank")
public class UserBank extends BaseEntity {

    /**
     * 绑定银行卡
     **/
    private Integer id;
    /**
     * 用户id
     **/
    private Integer bussineId;
    private Integer userId;
    /**
     * 银行卡类型id
     **/
    private Integer cardTypeId;
    /**
     * 卡号
     **/
    private String cardNumber;
    /**
     * 创建时间
     **/
    private Date created;
    /**
     * 状态
     **/
    private Integer state;
    /**
     * 配送员编号
     **/
    private Integer deliveryId;

    /**
     * 开户人
     */
    private String userName;

    /**
     * 绑定银行卡
     **/
    @Id
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 用户id
     **/
    public Integer getBussineId() {
        return bussineId;
    }

    public void setBussineId(Integer bussineId) {
        this.bussineId = bussineId;
    }

    /**
     * 银行卡类型id
     **/
    public Integer getCardTypeId() {
        return cardTypeId;
    }

    public void setCardTypeId(Integer cardTypeId) {
        this.cardTypeId = cardTypeId;
    }

    /**
     * 卡号
     **/
    public String getCardNumber() {
        return cardNumber;
    }

    public void setCardNumber(String cardNumber) {
        this.cardNumber = cardNumber;
    }

    /**
     * 创建时间
     **/
    public Date getCreated() {
        return created;
    }

    public void setCreated(Date created) {
        this.created = created;
    }

    /**
     * 状态
     **/
    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    /**
     * 配送员编号
     **/
    public Integer getDeliveryId() {
        return deliveryId;
    }

    public void setDeliveryId(Integer deliveryId) {
        this.deliveryId = deliveryId;
    }

    /**
     * 开户人
     *
     * @return
     */
    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }
}